<?php
	//$lingua = @$_GET['lingua'];
	//if (!$lingua) 
	//{
	
		//die($_SESSION["lingua"]);
		if(!isset($_SESSION["lingua"]) || $_SESSION["lingua"]=="")
		{			
			$lingua = "it"; // default italiano
 			$_SESSION["lingua"]=$lingua;
		}	
		else
			$lingua=$_SESSION["lingua"];
	//}
	//else
	//	$_SESSION["lingua"]=$lingua;
	//echo($_SESSION["lingua"]);	
 	switch ($lingua)
		{
			case "it":
				include SYSTEM_ROOT . "template/it.php";
				break;
			case "en":
				include SYSTEM_ROOT . "template/en.php";
				break;
			case "es":
				include SYSTEM_ROOT . "template/es.php";
				break;
			case "fr":
				include SYSTEM_ROOT . "template/fr.php";
				break;
			case "de":
				include SYSTEM_ROOT . "template/de.php";
				break;
			case "po":
				include SYSTEM_ROOT . "template/po.php";
				break;
			case "ci":
				include SYSTEM_ROOT . "template/ci.php";
				break;
			default:
				include SYSTEM_ROOT . "template/it.php";
				break;
		}
?>